package ase.assignment.sts.api;

import java.rmi.Remote;
import java.rmi.RemoteException;

import ase.assignment.sts.beans.CustomerEntity;

public interface CustomerHandler extends Remote {
	boolean login(String username, String password) throws RemoteException;

	void create(CustomerEntity customer) throws RemoteException;

	void close(String username) throws RemoteException;

	void update(CustomerEntity customer) throws RemoteException;

	CustomerEntity find(String username) throws RemoteException;
}
